package com.springBoot.springBootSysCore.modules.entity.system;

import com.springBoot.springBootSysCore.common.comment.annotation.MyComment;
import com.springBoot.springBootSysCore.common.persistence.DataEntity;

import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;

/**
 * Created by timo on 2017/11/27.
 */
@Table(name = "sys_faq")
@Entity
@MyComment("常见问题")
public class SysFaq extends DataEntity<SysFaq>{
    private String title;//标题
    private String content;//内容

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Lob
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
